Location:
Search - udp socket
Search list
Description: tcp udp socket vc++ c#
Platform: |
Size: 400384 |
Author: jia |
Hits:
Description: 用VC编写的socket,用于文件的收发,UDP协议-VC prepared with socket, used to send and receive documents, UDP protocol
Platform: |
Size: 2120704 |
Author: 张宏 |
Hits:
Description: TCP和UDP 传输源码,还有 select 模型-TCP_UDP Transfer Examples,and Select
Platform: |
Size: 3214336 |
Author: tony chen |
Hits:
Description: winsock实现网络通信(UDP)异步模式-winsock network communications (UDP) asynchronous mode
Platform: |
Size: 139264 |
Author: 陈相镇 |
Hits:
Description: ICP/IP、UDP阻塞模式编程演示,包中含tcp/IP、UDP服务端和客户端源码-ICP/IP, UDP blocking mode programming presentation package with tcp/IP, UDP server and client source code
Platform: |
Size: 29696 |
Author: 张凡 |
Hits:
Description: ipv6 udp socket program
Platform: |
Size: 53248 |
Author: Young |
Hits:
Description: a simple UDP socket connection using windows socket library (WS2_32.lib).
Platform: |
Size: 7907328 |
Author: ariesooi |
Hits:
Description: socket 分别以tcp,udp两种方式通信的代码。
同一套代码,依靠不同的makefile文件,分别编译出在windows环境、linux环境、Android环境下的执行文件。-socket respectively tcp, udp communication code in two ways. The same set of code, relying on a different makefile files, respectively, lies in the windows environment to compile, linux environment, Android environment execute the file.
Platform: |
Size: 4096 |
Author: 孙涛 |
Hits:
Description: sendig messege using UDP socket
Platform: |
Size: 2048 |
Author: dod |
Hits:
Description: it is about socket programming in client side in windows.
Platform: |
Size: 36864 |
Author: saeid zamani |
Hits:
Description: use udp socket
simple chating program
Platform: |
Size: 30720 |
Author: bony |
Hits:
Description: 网络通信调试助手源码,包括TCPIP,UDP 客户端,服务器端,非常好用,据说价值10wRMB-Assistant source code debugging network communication, including TCPIP, UDP client, server-side, very easy to use, said the value of 10wRMB
Platform: |
Size: 57344 |
Author: 黄 |
Hits:
Description: Inside the file is a series of classes for VB. Net to implement a UDP socket using the VB libraries. Net
Platform: |
Size: 1024 |
Author: Ndv |
Hits:
Description: C++ SOCKET UDP/IP IMPLIMENTATION
Platform: |
Size: 1024 |
Author: zakibsix |
Hits:
Description: UDP Socket编程实例,适合初学者参考。-UDP Socket Program
Platform: |
Size: 102400 |
Author: 丁吕 |
Hits:
Description: tcp udp 网络编程源码 //创建套接字
sHost = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)
if(INVALID_SOCKET == sHost)
{
printf("socket failed!\n")
WSACleanup() //释放套接字资源
return -1
}
//设置服务器地址
servAddr.sin_family =AF_INET
servAddr.sin_addr.s_addr = inet_addr("127.0.0.1")
servAddr.sin_port = htons((short)4999)
int nServAddlen = sizeof(servAddr)
//连接服务器
retVal=connect(sHost,(LPSOCKADDR)&servAddr, sizeof(servAddr))
if(SOCKET_ERROR == retVal)
{
printf("connect failed!\n")
closesocket(sHost) //关闭套接字
WSACleanup() //释放套接字资源
return -1
}
//向服务器发送数据
ZeroMemory(buf, BUF_SZIE)
strcpy(buf, "MyTCP")
retVal = send(sHost, buf, strlen(buf), 0)
if (SOCKET_ERROR == retVal)
{
printf("send failed!\n")
closesocket(sHost) //关闭套接字
WSACleanup() //释放套接字资源
return -1 -tcp udp network programming source code// create a socket sHost = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP) if (INVALID_SOCKET == sHost) (printf ( " socket failed! \ n" ) WSACleanup () // release socket Word of resources return-1 )// set the server address servAddr.sin_family = AF_INET servAddr.sin_addr.s_addr = inet_addr ( " 127.0.0.1" ) servAddr.sin_port = htons ((short) 4999) int nServAddlen = sizeof ( servAddr) // connect to the server retVal = connect (sHost, (LPSOCKADDR) & servAddr, sizeof (servAddr)) if (SOCKET_ERROR == retVal) (printf ( " connect failed! \ n" ) closesocket (sHost) // Close socket WSACleanup () // release the socket resources return-1 )// to the server sending data ZeroMemory (buf, BUF_SZIE) strcpy (buf, " MyTCP" ) retVal = send (sHost, buf, strlen (buf), 0) if (SOCKET_ERROR == retVal) (printf ( " send failed! \ n" ) closesocket (sHost) // close the socket WSACleanup () // release socket resources to return
Platform: |
Size: 2048 |
Author: 闛靚 |
Hits:
Description: socket测试方式,是服务端的代码,如果有需要的可以联系我-the test of socket,it is very useful
Platform: |
Size: 2313216 |
Author: mr zou |
Hits:
Description: 简单的 socket编程 UDP通信模式-UDP socket programming simple communication mode
Platform: |
Size: 11264 |
Author: 贺长富 |
Hits:
Description: 使用CAsyncSocket进行无连接(UDP)通信-UDP SOCKET
Platform: |
Size: 70656 |
Author: 李和 |
Hits:
Description: Android UDP socket通信 Android UDP socket通信-Android UDP socket communication Android UDP socket communication
Platform: |
Size: 49152 |
Author: zengyang |
Hits:
«
1
2
34
5
6
7
8
9
10
...
50
»